<?php
namespace app\common\controller;

use think\Controller;
use think\Session;
use think\Cookie;
use think\Db;

class HomeBase extends Controller
{
    
    protected function _initialize()
    {
        parent::_initialize();
        
        if(!Session::get('user_id')){
            $this->redirect('Login/index');
        }
        
    }
}